package com.ljh.mall.config;

import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.ViewControllerRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;

/**
 * @author ：刘剑鸿
 * @date ：Created in 2023/4/14 22:10
 * @description：
 * @modified By：
 * @version: $
 */
@Configuration
public class MyWebViewConfig implements WebMvcConfigurer {
    /**
     * 视图映射器
     * @param registry
     */
//    @Override
//    public void addViewControllers(ViewControllerRegistry registry) {
//        registry.addViewController("/cartList.html").setViewName("/login");
//        registry.addViewController("/success.html").setViewName("/success");
//    }
}
